package com.bst.bsj.common.dal.dataobject;

import java.math.BigDecimal;
import java.util.Date;

import com.sylinxsoft.tools.BaseDO;
import com.sylinxsoft.tools.annotation.BoConfig;
import com.sylinxsoft.tools.annotation.BoFieldConfig;

/**
 * 苗木基本信息
 * 
 * @author han 2016年3月17日 上午12:07:00
 *
 */
@BoConfig(tableName = "t_sku_seedling")
public class Seedling extends BaseDO {

	/**
	 * 所属企业
	 */
	@BoFieldConfig(columnName = "company_number")
	private String		companyNumber;
	
	/**
	 * 所属苗仓
	 */
	@BoFieldConfig(columnName = "warehouse_number")
	private String		warehouseNumber;

	/**
	 * 所属用户
	 */
	@BoFieldConfig(columnName = "uid")
	private String		uid;

	/**
	 * 苗木代表图片
	 */
	@BoFieldConfig(columnName = "list_image")
	private String		listImage;

	/**
	 * 主图
	 */
	@BoFieldConfig(columnName = "main_image")
	private String		mainImage;

	/**
	 * 常用名称编码
	 */
	@BoFieldConfig(columnName = "commona_name_number")
	private String		commonNameNumber;

	/**
	 * 学名
	 */
	@BoFieldConfig(columnName = "base_name")
	private String		baseName;

	/**
	 * 常用名
	 */
	@BoFieldConfig(columnName = "common_names")
	private String		commonNames;

	/**
	 * 搜索关键字
	 */
	@BoFieldConfig(columnName = "search_key_words")
	private String		searchKeyWords;

	/**
	 * 苗木类别编码
	 */
	@BoFieldConfig(columnName = "seedling_type_number")
	private String		seedlingTypeNumber;

	/**
	 * 商品唯一编码
	 */
	@BoFieldConfig(columnName = "number")
	private String		skuNumber;

	/**
	 * 种植品类 {@link #PlantCategory}
	 */
	@BoFieldConfig(columnName = "plant_category")
	private String		plantCategory;

	/**
	 * 价格,单位分
	 */
	@BoFieldConfig(columnName = "price")
	private BigDecimal	price;

	/**
	 * 库存
	 */
	@BoFieldConfig(columnName = "inventory")
	private Integer		inventory;

	/**
	 * 经度
	 */
	@BoFieldConfig(columnName = "longitude")
	private String		longitude;

	/**
	 * 纬度
	 */
	@BoFieldConfig(columnName = "latitude")
	private String		latitude;

	/**
	 * 编码
	 */
	@BoFieldConfig(columnName = "province_number")
	private String		provinceNumber;
	/**
	 * 具体位置-省份
	 */
	@BoFieldConfig(columnName = "province_name")
	private String		provinceName;

	/**
	 * 具体位置-城市编码
	 */
	@BoFieldConfig(columnName = "city_number")
	private String		cityNumber;

	/**
	 * 具体位置-城市
	 */
	@BoFieldConfig(columnName = "city_name")
	private String		cityName;

	/**
	 * 具体位置-区域编码
	 */
	@BoFieldConfig(columnName = "city_area_number")
	private String		cityAreaNumber;

	/**
	 * 具体位置-区域
	 */
	@BoFieldConfig(columnName = "city_area_name")
	private String		cityAreaName;

	/**
	 * 具体位置
	 */
	@BoFieldConfig(columnName = "details_address")
	private String		detailsAddress;

	/**
	 * 状态
	 */
	@BoFieldConfig(columnName = "status")
	private String		status;

	/**
	 * 是否热门
	 */
	@BoFieldConfig(columnName = "is_hot",defaultValue = "0")
	private Integer		isHot;

	/**
	 * 苗木详细参数
	 */
	@BoFieldConfig(columnName = "seedling_details")
	private String		seedlingDetails;

	/**
	 * 自动下架时间
	 */
	@BoFieldConfig(columnName = "auto_soldout_time")
	private Date		autoSoldOutTime;

	/**
	 * 发布时间
	 */
	@BoFieldConfig(columnName = "publish_time")
	private Date		publishTime;

	/**
	 * 排序
	 */
	 @BoFieldConfig(columnName = "seq")
	  private Long    seq;

	
	
	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getBaseName() {
		return baseName;
	}

	public void setBaseName(String baseName) {
		this.baseName = baseName;
	}

	public String getCommonNames() {
		return commonNames;
	}

	public void setCommonNames(String commonNames) {
		this.commonNames = commonNames;
	}

	public String getSearchKeyWords() {
		return searchKeyWords;
	}

	public void setSearchKeyWords(String searchKeyWords) {
		this.searchKeyWords = searchKeyWords;
	}

	public String getSeedlingTypeNumber() {
		return seedlingTypeNumber;
	}

	public void setSeedlingTypeNumber(String seedlingTypeNumber) {
		this.seedlingTypeNumber = seedlingTypeNumber;
	}

	public String getSkuNumber() {
		return skuNumber;
	}

	public void setSkuNumber(String skuNumber) {
		this.skuNumber = skuNumber;
	}

	public String getPlantCategory() {
		return plantCategory;
	}

	public void setPlantCategory(String plantCategory) {
		this.plantCategory = plantCategory;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getInventory() {
		return inventory;
	}

	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getProvinceNumber() {
		return provinceNumber;
	}

	public void setProvinceNumber(String provinceNumber) {
		this.provinceNumber = provinceNumber;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityNumber() {
		return cityNumber;
	}

	public void setCityNumber(String cityNumber) {
		this.cityNumber = cityNumber;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCityAreaNumber() {
		return cityAreaNumber;
	}

	public void setCityAreaNumber(String cityAreaNumber) {
		this.cityAreaNumber = cityAreaNumber;
	}

	public String getCityAreaName() {
		return cityAreaName;
	}

	public void setCityAreaName(String cityAreaName) {
		this.cityAreaName = cityAreaName;
	}

	public String getDetailsAddress() {
		return detailsAddress;
	}

	public void setDetailsAddress(String detailsAddress) {
		this.detailsAddress = detailsAddress;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getIsHot() {
		return isHot;
	}

	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}

	public String getSeedlingDetails() {
		return seedlingDetails;
	}

	public void setSeedlingDetails(String seedlingDetails) {
		this.seedlingDetails = seedlingDetails;
	}

	public Date getAutoSoldOutTime() {
		return autoSoldOutTime;
	}

	public void setAutoSoldOutTime(Date autoSoldOutTime) {
		this.autoSoldOutTime = autoSoldOutTime;
	}

	public String getListImage() {
		return listImage;
	}

	public String getCompanyNumber() {
		return companyNumber;
	}

	public void setCompanyNumber(String companyNumber) {
		this.companyNumber = companyNumber;
	}

	public String getWarehouseNumber() {
		return warehouseNumber;
	}

	public void setWarehouseNumber(String warehouseNumber) {
		this.warehouseNumber = warehouseNumber;
	}

	public void setListImage(String listImage) {
		this.listImage = listImage;
	}

	public String getMainImage() {
		return mainImage;
	}

	public void setMainImage(String mainImage) {
		this.mainImage = mainImage;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

	public String getCommonNameNumber() {
		return commonNameNumber;
	}

	public void setCommonNameNumber(String commonNameNumber) {
		this.commonNameNumber = commonNameNumber;
	}

  public Long getSeq() {
    return seq;
  }

  public void setSeq(Long seq) {
    this.seq = seq;
  }
	
	

}
